package muilty_thread.java_current_practice_and_kernel.cp5;




public class ServerStarter {


    public static void main(String[] args) {
        ServiceManager.startServices();

        boolean allIsOk = ServiceManager.checkServiceStatus();

        if (allIsOk) {
            System.out.println("all is ok");

        } else {
            System.out.println("error!");
        }
    }
}
